package com.hunan.api.catv.service.biz.praise;

import com.hunan.api.catv.entity.ServiceResult;
import com.hunan.api.catv.entity.po.Praise;
import com.hunan.api.catv.entity.vo.PraiseVo;
import com.hunan.api.catv.service.ResultService;
import com.hunan.api.catv.service.impl.praise.PraiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author jiang zhuan
 * @version 1.0
 * @description 描述
 * @date 2020/12/10 0010
 * @package com.hunan.api.catv.service.biz.praise
 * @company 湖南有线
 */
@Service
public class PraiseBiz extends ResultService {

    @Autowired
    private PraiseService praiseService;

    public PraiseVo get(Praise praise) {
        return praiseService.get(praise);
    }

    public ServiceResult add(Praise praise) {
        return praiseService.add(praise);
    }

    public ServiceResult update(Praise praise) {
        return praiseService.update(praise);
    }

}
